#!/bin/bash

usage (){
	echo "CRB processes C files with embedded Ruby code to provide a flexible higher-order macro system."
	echo "Usage: crb files"
}

if [ "$#" -eq "0" ] 
then
	usage
	exit 0
fi

while (($#))
do
	echo "Processing $1"
	ruby /usr/lib/crb/crb.rb $1
	shift
done
